package com.wanxi.myenum;

public class MyEnumTest {
    public static void main(String[] args) {
//        MyEnum.winter+MyEnum.autumn;
        System.out.println(MyEnum.AUTUMN.getNum());
        System.out.println(MyEnum.SUMMER);
        System.out.println(MyEnum.SUMMER.name());
        System.out.println(MyEnum.SUMMER.ordinal());
    }
}
